StellarPay\Subscriptions\Models\Subscription S

Total Complexity 41
Dependencies 14
Dependents 33
Total lines 368
Lines of code 149
Logical lines of code 67
Comment lines 107
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
getFormattedNextBillingAt()
S
61 7 12
getPendingPaymentMessage()
S
57 2 18
calculateEndDate()
S
60 2 14
getTableName()
S
75 2 4
save()
S
69 2 7
getFormattedBillingPeriod()
S
69 2 7
updateStatus()
S
72 2 6
complete()
S
69 2 7
suspend()
S
69 2 7
cancel()
S
69 2 7
totalCount()
S
75 2 4
calculateNextBillingDate()
S
62 1 12
fromQueryBuilderObject()
S
80 1 3
query()
S
80 1 3
delete()
S
80 1 3
findByFirstOrderId()
S
78 1 3
create()
S
73 1 5
findByFirstOrderAndItemId()
S
71 1 6
findAllByFirstOrderId()
S
78 1 3
getMetaTableName()
S
79 1 3
findByTransactionId()
S
78 1 3
find()
S
79 1 3
canUpdateStatus()
S
80 1 3
hasEndDate()
S
80 1 3
factory()
S
80 1 3